home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Programming / AmigaTalk / prelude / SMakeFile < prev    next >
Makefile  |  2000-04-24  |  5KB  |  151 lines

  1. # ###############################################################
  2. #
  3. #  MakeFile for the standard prelude & related .p files. 
  4. # ###############################################################
  5. #
  6. PARSE  = AmigaTalk:c/Parse -hex
  7. #
  8. OUTDIR = AmigaTalk:Prelude/
  9. #
  10. INDIR  = AmigaTalk:General/
  11. #
  12. PFILES = $(OUTDIR)Class.p $(OUTDIR)Object.p $(OUTDIR)String.p\
  13.  $(OUTDIR)LArray.p $(OUTDIR)Nil.p $(OUTDIR)Array.p $(OUTDIR)Boolean.p\
  14.  $(OUTDIR)True.p $(OUTDIR)False.p $(OUTDIR)Block.p $(OUTDIR)Symbol.p\
  15.  $(OUTDIR)Magnitude.p $(OUTDIR)Number.p $(OUTDIR)Integer.p $(OUTDIR)Char.p\
  16.  $(OUTDIR)Float.p $(OUTDIR)Radian.p $(OUTDIR)Point.p $(OUTDIR)Random.p\
  17.  $(OUTDIR)Collection.p $(OUTDIR)Bag.p $(OUTDIR)Set.p $(OUTDIR)KCollection.p\
  18.  $(OUTDIR)Dictionary.p $(OUTDIR)SCollection.p $(OUTDIR)Interval.p\
  19.  $(OUTDIR)Form.p $(OUTDIR)Pen.p $(OUTDIR)List.p $(OUTDIR)ACollection.p\
  20.  $(OUTDIR)File.p $(OUTDIR)ByteArray.p $(OUTDIR)Semaphore.p\
  21.  $(OUTDIR)Process.p $(OUTDIR)AmigaTalk.p
  22. #
  23. # ------ Now for the Rules: -------------------------------------
  24. #
  25. #
  26. standard: $(PFILES) 
  27.   JOIN $(OUTDIR)class.p $(OUTDIR)object.p $(OUTDIR)string.p $(OUTDIR)larray.p $(OUTDIR)nil.p $(OUTDIR)array.p AS RAM:s1
  28.   JOIN $(OUTDIR)boolean.p $(OUTDIR)true.p $(OUTDIR)false.p $(OUTDIR)block.p $(OUTDIR)symbol.p $(OUTDIR)magnitude.p AS RAM:s2
  29.   JOIN RAM:s1 RAM:s2 $(OUTDIR)number.p $(OUTDIR)integer.p $(OUTDIR)char.p $(OUTDIR)float.p  AS RAM:s3
  30.   JOIN RAM:s3 $(OUTDIR)radian.p $(OUTDIR)point.p $(OUTDIR)random.p $(OUTDIR)collection.p $(OUTDIR)bag.p $(OUTDIR)set.p AS RAM:s4
  31.   JOIN $(OUTDIR)kcollection.p $(OUTDIR)dictionary.p $(OUTDIR)scollection.p AS RAM:s5
  32.   JOIN RAM:s4 RAM:s5 $(OUTDIR)interval.p $(OUTDIR)form.p $(OUTDIR)pen.p $(OUTDIR)list.p AS RAM:s6
  33.   JOIN $(OUTDIR)acollection.p $(OUTDIR)file.p $(OUTDIR)bytearray.p $(OUTDIR)semaphore.p AS RAM:s7
  34.   JOIN RAM:s6 RAM:s7 $(OUTDIR)process.p $(OUTDIR)AmigaTalk.p as RAM:final
  35.   COPY RAM:final TO $(OUTDIR)standard
  36.   DELETE RAM:s1 RAM:s2 RAM:s3 RAM:s4 RAM:s5 RAM:s6 RAM:s7 RAM:final
  37. #
  38. # ------ Parser Rules: ------------------------------------------
  39. #
  40. $(OUTDIR)Nil.p: $(INDIR)UndefinedObject.st
  41.   $(PARSE) $(INDIR)UndefinedObject.st >$(OUTDIR)Nil.p
  42. #
  43. $(OUTDIR)KCollection.p: $(INDIR)KeyedCollection.st
  44.   $(PARSE) $(INDIR)KeyedCollection.st >$(OUTDIR)KCollection.p
  45. #
  46. $(OUTDIR)SCollection.p: $(INDIR)SequenceableCollection.st
  47.   $(PARSE) $(INDIR)SequenceableCollection.st >$(OUTDIR)SCollection.p
  48. #
  49. $(OUTDIR)ACollection.p: $(INDIR)ArrayedCollection.st
  50.   $(PARSE) $(INDIR)ArrayedCollection.st >$(OUTDIR)ACollection.p
  51. #
  52. $(OUTDIR)Interval.p: $(INDIR)Interval.st
  53.   $(PARSE) $(INDIR)Interval.st   >$(OUTDIR)Interval.p
  54. #
  55. $(OUTDIR)Pen.p: $(INDIR)Pen.st
  56.   $(PARSE) $(INDIR)Pen.st        >$(OUTDIR)Pen.p
  57. #
  58. $(OUTDIR)List.p: $(INDIR)List.st
  59.   $(PARSE) $(INDIR)List.st       >$(OUTDIR)List.p
  60. #
  61. $(OUTDIR)ByteArray.p: $(INDIR)ByteArray.st
  62.   $(PARSE) $(INDIR)ByteArray.st  >$(OUTDIR)ByteArray.p
  63. #
  64. $(OUTDIR)Semaphore.p: $(INDIR)Semaphore.st
  65.   $(PARSE) $(INDIR)Semaphore.st  >$(OUTDIR)Semaphore.p
  66. #
  67. $(OUTDIR)Class.p: $(INDIR)Class.st
  68.   $(PARSE) $(INDIR)Class.st      >$(OUTDIR)Class.p
  69. #
  70. $(OUTDIR)Object.p: $(INDIR)Object.st
  71.   $(PARSE) $(INDIR)Object.st     >$(OUTDIR)Object.p
  72. #
  73. $(OUTDIR)String.p: $(INDIR)String.st
  74.   $(PARSE) $(INDIR)String.st     >$(OUTDIR)String.p
  75. #
  76. $(OUTDIR)LArray.p: $(INDIR)LArray.st
  77.   $(PARSE) $(INDIR)LArray.st     >$(OUTDIR)LArray.p
  78. #
  79. $(OUTDIR)Array.p: $(INDIR)Array.st
  80.   $(PARSE) $(INDIR)Array.st      >$(OUTDIR)Array.p
  81. #
  82. $(OUTDIR)Boolean.p: $(INDIR)Boolean.st
  83.   $(PARSE) $(INDIR)Boolean.st    >$(OUTDIR)Boolean.p
  84. #
  85. $(OUTDIR)True.p: $(INDIR)True.st
  86.   $(PARSE) $(INDIR)True.st       >$(OUTDIR)True.p
  87. #
  88. $(OUTDIR)False.p: $(INDIR)False.st
  89.   $(PARSE) $(INDIR)False.st      >$(OUTDIR)False.p
  90. #
  91. $(OUTDIR)Block.p: $(INDIR)Block.st
  92.   $(PARSE) $(INDIR)Block.st      >$(OUTDIR)Block.p
  93. #
  94. $(OUTDIR)Symbol.p: $(INDIR)Symbol.st
  95.   $(PARSE) $(INDIR)Symbol.st     >$(OUTDIR)Symbol.p
  96. #
  97. $(OUTDIR)Magnitude.p: $(INDIR)Magnitude.st
  98.   $(PARSE) $(INDIR)Magnitude.st  >$(OUTDIR)Magnitude.p
  99. #
  100. $(OUTDIR)Number.p: $(INDIR)Number.st
  101.   $(PARSE) $(INDIR)Number.st     >$(OUTDIR)Number.p
  102. #
  103. $(OUTDIR)Integer.p: $(INDIR)Integer.st
  104.   $(PARSE) $(INDIR)Integer.st    >$(OUTDIR)Integer.p
  105. #
  106. $(OUTDIR)Char.p: $(INDIR)Char.st
  107.   $(PARSE) $(INDIR)Char.st       >$(OUTDIR)Char.p
  108. #
  109. $(OUTDIR)Float.p: $(INDIR)Float.st
  110.   $(PARSE) $(INDIR)Float.st      >$(OUTDIR)Float.p
  111. #
  112. $(OUTDIR)Radian.p: $(INDIR)Radian.st
  113.   $(PARSE) $(INDIR)Radian.st     >$(OUTDIR)Radian.p
  114. #
  115. $(OUTDIR)Point.p: $(INDIR)Point.st
  116.   $(PARSE) $(INDIR)Point.st      >$(OUTDIR)Point.p
  117. #
  118. $(OUTDIR)Random.p: $(INDIR)Random.st
  119.   $(PARSE) $(INDIR)Random.st     >$(OUTDIR)Random.p
  120. #
  121. $(OUTDIR)Collection.p: $(INDIR)Collection.st
  122.   $(PARSE) $(INDIR)Collection.st >$(OUTDIR)Collection.p
  123. #
  124. $(OUTDIR)Bag.p: $(INDIR)Bag.st
  125.   $(PARSE) $(INDIR)Bag.st        >$(OUTDIR)Bag.p
  126. #
  127. $(OUTDIR)Set.p: $(INDIR)Set.st
  128.   $(PARSE) $(INDIR)Set.st        >$(OUTDIR)Set.p
  129. #
  130. $(OUTDIR)Dictionary.p: $(INDIR)Dictionary.st
  131.   $(PARSE) $(INDIR)Dictionary.st >$(OUTDIR)Dictionary.p
  132. #
  133. $(OUTDIR)Form.p: $(INDIR)Form.st
  134.   $(PARSE) $(INDIR)Form.st       >$(OUTDIR)Form.p
  135. #
  136. $(OUTDIR)File.p: $(INDIR)File.st
  137.   $(PARSE) $(INDIR)File.st       >$(OUTDIR)File.p
  138. #
  139. $(OUTDIR)Process.p: $(INDIR)Process.st
  140.   $(PARSE) $(INDIR)Process.st    >$(OUTDIR)Process.p
  141. #
  142. $(OUTDIR)AmigaTalk.p: $(INDIR)AmigaTalk.st
  143.   $(PARSE) $(INDIR)AmigaTalk.st  >$(OUTDIR)AmigaTalk.p
  144. #
  145. #
  146. # ------ Default for the rest of the rules: ---------------------
  147. #
  148. #.st.p:
  149. #  $(PARSE) $(INDIR)$>.st >$@  # Why don't this work all the time??
  150. #
  151.